<template>
  <div class="imgcard-container">
    <div class="imgcard-img">
      <img :src="card.url" />
    </div>
    <div class="imgcard-body">
      <div class="title">{{card.title}}</div>
      <div class="desc">{{card.desc}}</div>
    </div>
    <div class="imgcard-footer">
      <div class="time">{{card.time}}</div>
      <div class="logo">
        <ul>
          <ol>
            <img
              src="https://gw.alipayobjects.com/zos/rmsportal/ZiESqWwCXBRQoaPONSJe.png"
              class="first-img"
            />
          </ol>
          <ol>
            <img
              src="https://gw.alipayobjects.com/zos/rmsportal/tBOxZPlITHqwlGjsJWaF.png"
              class="scend-img"
            />
          </ol>
          <ol>
            <img src="https://gw.alipayobjects.com/zos/rmsportal/sBxjgqiuHMGRkIjqlQCd.png" />
          </ol>
        </ul>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  props:["card"],
  data(){
    return{

    }
  }
}
</script>


<style lang="scss" scoped>
.imgcard-container {
  height: 353px;
  width: 343px;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin: 10px 15px;
  .imgcard-img {
    height: 205px;
    width: 100%;
    img {
      width: 100%;
      height: 100%;
    }
  }
  .imgcard-body {
    padding: 20px;
    .title {
      font-size: 18px;
      font-weight: bold;
      margin-bottom: 15px;
    }
    .desc {
      font-size: 12px;
      color: #8c8c8c;
    }
  }
  .imgcard-footer {
    display: flex;
    flex-direction: row;
    padding: 0 20px;
    position: relative;
    .time {
      color: #8c8c8c;
      width: 150px;
      font-size: 12px;
      flex: 1;
      position: absolute;
      top: 20px;
    }
    .logo {
      flex: 1;
      ul {
        display: flex;
        flex-direction: row;
        margin-left: 80px;
        img {
          width: 24px;
          height: 24px;
          border-radius: 12px;
          border: 1px solid #ffffff;
        }
        .first-img {
          position: relative;
          right: -100px;
          z-index: 10;
        }
        .scend-img {
          position: relative;
          right: -50px;
        }
      }
    }
  }
}
</style>
